-
Notifications
You must be signed in to change notification settings - Fork 294
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix NTLM auth API missing logs #8448
Conversation
adds logging module modify default app logging format
|
||
if None in (c_db_host, c_db_port, c_db_user, c_db_pass, c_db, c_db_unix_socket): | ||
print(f" DB config: Missing settings, NT Key cache will be disabled") | ||
log.warning(f" DB config: Missing settings, NT Key cache will be disabled") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one should be a log.error no?
It will not allow to enable the cache.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
similar to the previous one, cache disabled. but still works.
I don't think this is an error or critical scenario.
they will only see the message during ntlm auth api starts.
change several logging levels
Description
Fix missing NTLM auth API logs
added several common error cases for easier troubleshooting.
Impacts
Issue
fixes #8414
Delete branch after merge
YES
Checklist
(REQUIRED) - [yes, no or n/a]
Enhancements
added more detailed logs of ntlm-auth-api
added several common NTErrors
Bug Fixes